<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../common/commonInclude.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title><%=SYSTEM_NAME%></title>
<meta name="description" content="Error Page" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- basic styles -->
<link href="<%=basePath%>resource/assets/css/bootstrap.min.css"
	rel="stylesheet" />
<link
	href="<%=basePath%>resource/assets/css/bootstrap-responsive.min.css"
	rel="stylesheet" />
<link rel="stylesheet"
	href="<%=basePath%>resource/assets/css/font-awesome.min.css" />
<!--[if IE 7]>
		  <link rel="stylesheet" href="<%=basePath%>resource/assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
<link rel="stylesheet"
	href="<%=basePath%>resource/assets/css/ace.min.css" />
<link rel="stylesheet"
	href="<%=basePath%>resource/assets/css/ace-responsive.min.css" />
<link rel="stylesheet"
	href="<%=basePath%>resource/assets/css/ace-skins.min.css" />
<!--[if lt IE 9]>
		  <link rel="stylesheet" href="<%=basePath%>resource/assets/css/ace-ie.min.css" />
		<![endif]-->
</head>

<body>
	<div class="container-fluid" id="main-container">
		<div id="" class="clearfix">
			<div id="page-content" class="clearfix">
				<div class="row-fluid">
					<!-- PAGE CONTENT BEGINS HERE -->

					<div class="error-container">

						<div class="well">
							<h1 class="grey lighter smaller">
								<span class="blue bigger-125"><i class="icon-sitemap"></i>
									${it.code}</span> Page Error (${it.msg})
							</h1>
							<hr />
							<h3 class="lighter smaller">页面访问出错</h3>

							<div>
									<span class="input-icon"> <i class="icon-search"></i> <input
										type="text" class="input-medium search-query" id="inputquery"
										placeholder="查找出错原因...">
									</span>
									<button class="btn btn-small" onclick="gosearch();">Go!</button>

								<div class="space"></div>

								<h4 class="smaller">请尝试:</h4>
								<ul class="unstyled spaced inline bigger-110">
									<li><i class="icon-hand-right blue"></i> 检查链接地址</li>
								</ul>
							</div>

							<hr />
							<div class="space"></div>

							<div class="row-fluid">
								<div class="center">
									<a href="#" onclick="window.history.go(-1)" class="btn btn-grey"><i class="icon-arrow-left"></i>
										返回</a> <a href="#" onclick="gohome()" class="btn btn-primary"><i
										class="icon-dashboard"></i> 回首页</a>
								</div>
							</div>
						</div>

					</div>
				</div>
			</div>
		</div>
	</div>

	<script src="<%=basePath%>resource/jquery/jquery-1.9.1.min.js"></script>
	<script type="text/javascript">
		window.jQuery || document.write("<script src='<%=basePath%>resource/jquery/jquery-1.9.1.min.js'>\x3C/script>");
	</script>
	<script src="<%=basePath%>resource/assets/js/bootstrap.min.js"></script>

	<script src="<%=basePath%>resource/assets/js/ace-elements.min.js"></script>
	<script src="<%=basePath%>resource/assets/js/ace.min.js"></script>
	<script type="text/javascript">
		function gohome(){
			window.location.href = "/demon/rest/main";
		}
		
		function gosearch(){
			var text = $("#inputquery").val();
			window.open("https://www.google.com/search?newwindow=1&safe=strict&espv=210&es_sm=93&q="+text);
			return false;
		}
	</script>
</body>
</html>
